<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/common/js/utility/String.js"%>
<%@ page import="java.io.*" %>
<%@ page import="java.net.*" %>
<%@ page import="com.boco.transnms.common.bussiness.helper.URLHelper"%>
<%@ page import="com.boco.transnms.server.common.cfg.TnmsRuntime"%>
<%
  String attempStr = TnmsRuntime.getInstance().getWebUrl(TnmsRuntime.WEBATTEMP,URLHelper.getUrlMap(request));
  String contextPath = attempStr+"//exportFile";
  String fileName = request.getParameter("filename");
  String filepath = contextPath+"//"+URLDecoder.decode(fileName,"UTF-8");
%>
<script type="">
 window.location.href='<%=filepath%>';
 setTimeout(function(){
   window.parent.win.close();
 },1000);

</script>
<html>
<head>
</head>
<body>
<table>
<tr>
<td>
</td>
</tr>
</table>
</body>
</html>
